using System;
using System.Xml;

namespace XmlObjects.Parsers
{
	public class StringParser<T> : Parser<string>
	{
		public override string GetValue(XmlNode node)
		{
			XmlNode localNode = node.SelectSingleNode(SelectString);

			return GetValueLocal(localNode);
		}

		public override string GetValueLocal(XmlNode node)
		{
			return GetInnerXml(node);
		}

		public  XmlNode WriteXml(String theObject, XmlDocument document)
		{
			throw new NotImplementedException();
		}
	}
}